<template>
  <div>About</div>
  <span>store中的count : {{ $store.state.count }}</span>
  <button @click="btnClick">About</button>
</template>

<script>
export default {
  methods: {
    btnClick() {
      this.$store.commit('increment')
    },
  },
}
</script>

<style lang="scss" scoped></style>
